int greenPin=8;
int bluePin=9;
int redPin=10;

int buzzerPin = 11;

void setup() {
pinMode(greenPin,OUTPUT);
pinMode(bluePin,OUTPUT);
pinMode(redPin,OUTPUT);

pinMode(buzzerPin,OUTPUT);

}

void loop() {
digitalWrite(redPin,HIGH);
tone(buzzerPin, 400);
delay(700);
digitalWrite(redPin,LOW);
delay(20),
digitalWrite(bluePin,HIGH);
tone(buzzerPin, 600);
delay(700);
digitalWrite(bluePin,LOW);

delay(20);
}
